Skip to content

Instantly share code, notes, and snippets.

@lhearachel
lhearachel / gen4_trainer_ai.md
Last active March 9, 2026 19:10
Generation 4 Pokemon Trainer Move Selection AI

Generation 4 Pokemon Trainer AI

This document aims to be a comprehensive reference to players for how the generation 4 trainer AI behaves in battle. Each NPC trainer is assigned a set of flags, each of which determines the behavior of the AI. When considering what move to use on any given turn, the AI will initialize the "score" of all of its moves to 100. Then, it will apply score modifiers to each move according to the behavior flags given to it and choose the move with the highest score. If two moves are given the same score, then the chosen move will be selected from among them at-random.

This is a living document; the contents herein are subject to change for clarity or improved accuracy.

Information herein is sourced from the trainer AI scripts in pokeplatinum.

In general:

  • Unless otherwise specified, none of these scores are cumulative within the scope of their respective flag. That is, if a move says that it is -10 for two different conditions within the Basic flag, the move is scored at -10,
@sserbin1
sserbin1 / CLAUDE.md
Created March 9, 2026 18:50
Claude Code global CLAUDE.md config

Claude Context

MANDATORY: Use Claudikins for EVERYTHING

Opus must NOT do work itself. Opus is the ORCHESTRATOR — it delegates to Claudikins agents.

Block 1: Kernel — Development Pipeline

Command When to use What it does
@mberman84
mberman84 / prompts.md
Last active March 9, 2026 19:07
Prompts

OpenClaw: Extracted Prompts (Generalized)

22 copy/paste-ready prompts for building your own AI agent system. Each prompt builds a functional system or implements a proven best practice you can hand to an AI coding assistant.

Replace placeholders like <your-workspace>, <your-messaging-platform>, and <your-model> with your own values.


1. Personal CRM

@nevillepark
nevillepark / README.md
Last active March 9, 2026 19:06
CBC radio stream URLs

CBC Radio Stream URLs

Using these URLs, you can listen to CBC radio streams with applications like VLC or Transistor. The files are M3U playlists, so you can use them as-is, edit them to suit your tastes, or use individual URLs.

This playlist contains the .m3u8 URLs from the CBC Listen website, which uses the HLS (HTTP Live Streaming) protocol. The audio stream is broken up into multiple tiny files, which are then fed into the .m3u8 playlist file that delivers them to your computer in the right order. This should work with modern media players.

This legacy playlist uses good old-fashioned MP3 streams found on PublicRadioFan.com. It will work with older programs like Winamp that don't support HLS. I don't know how lo

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 9, 2026 19:04
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Historical Property & Area Research Plan

A methodology for creating a rich, compelling historical report on a home and its surrounding area using publicly available geographic data, satellite imagery, historical maps, and archival records.

Overview

Given a GeoJSON file containing a home location (point) and area of interest (bounding box polygon), this plan outlines how to research and compile a comprehensive historical report with linked imagery and maps.

Data Sources

@eylenburg
eylenburg / msoffice_in_linux.md
Last active March 9, 2026 18:56
Installing Microsoft Office in Linux

Step by step guide: How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

  1. LinOffice - Microsoft Office Launcher for Linux, my own fork of Winapps which is focused on only running Microsoft Office, with some Office-specific improvements over Winapps and a fully automated setup. Eventually I would like to create a GUI for it. Decribed below
  2. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  3. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Last release in Feb 2022 and seems to be abandoned.
@AvgJxmes
AvgJxmes / gist:0a2c793d2e19c2a13e8d4e5fa843e51c
Last active March 9, 2026 18:54
Pocketchip New User guide (For noobs like me)
What is Pocketchip?
PocketChip is a portable, battery-powered Linux computer with a 480 x 272 resistive touchscreen and a QWERTY keyboard. It's about as powerful as a Raspberry Pi, but it comes with a custom touch-friendly version of Linux that eschews a traditional desktop UI.
Why did i create this Gist?
Because i am a new Pocketchip user, and i ran into so many issues when i wanted to flash my Pocketchip since the company selling this wonderfull device is already defunct.
How to get started?
1.
First download the three software included onto a USB Stick and drag and drop into the pocketchip.
fields:
- abstract:
- Collections:
- Alice in Wonderland:
- dc_abstract
- dcterms_abstract # inconsistent within collection, digital objects have either one or the other
- Apfelbaum:
- dcterms_abstract
- Basbanes Texts:
- dcterms_abstract